package com.gancp.service.impl;

import com.gancp.dao.IBaseMapper;
import com.gancp.dao.commonservice.MessageBordMapper;
import com.gancp.domain.MessageBord;
import com.gancp.service.MessageBordBiz;
import com.gancp.service.base.BaseBizImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by GCP on 2018/5/10.
 */
@Service("MessageBordBiz")
@Transactional
public class MessageBordBizImpl extends BaseBizImpl<MessageBord, Integer> implements MessageBordBiz {
    @Autowired
    private MessageBordMapper messageBordMapper;


    @Override
    protected IBaseMapper getIBaseMapper() {
        return messageBordMapper;
    }

    /**
     * @Author gancp
     * @Date 时间被黑洞吸走了
     * @Descripition 根据条件查询集合
     **/
    @Override
    public List<MessageBord> selectMsgBordListByParam(MessageBord messageBord) {
        List<MessageBord> result = messageBordMapper.selectListByParam( messageBord );
        return result;
    }
}
